<div class="widget_wrap">
    <div class="widget_top">
        <span class="h_icon blocks_images"></span>
        <h6>Antecedentes Ginecologicos</h6>
    </div>
    <div class="widget_content">                    
        <table class="display data_tbl">
            <thead>
                <tr>
                    <th>Menarca</th>
                    <th>Menopausa</th>
                    <th>F.U.M.</th>
                    <th>G</th>
                    <th>P</th>
                    <th>A</th>
                    <th>C</th>
                    <th>Nota</th>
                    <th>Fecha</th>
                </tr>
            </thead>

            <tbody>
                <?php $i=0; ?>
                <?php foreach ($antecedentesGinecologicosPaciente as $ag): ?>
                    <tr class="<?php echo fmod($i, 2) ? "gradeA add" : "gradeA even" ?>">
                        <td class=" sorting_1">
                            <?php echo $ag['Antecedentesginecologico']['menarca']; ?>
                        </td>                                    
                        <td class=" sorting_1">
                            <?php echo $ag['Antecedentesginecologico']['menopausa']; ?>
                        </td>
                        <td class=" sorting_1">
                            <?php echo $ag['Antecedentesginecologico']['fum']; ?>
                        </td>
                        <td class=" sorting_1">
                            <?php echo $ag['Antecedentesginecologico']['g']; ?>
                        </td>
                        <td class=" sorting_1">
                            <?php echo $ag['Antecedentesginecologico']['p']; ?>
                        </td>
                        <td class=" sorting_1">
                            <?php echo $ag['Antecedentesginecologico']['a']; ?>
                        </td>
                        <td class=" sorting_1">
                            <?php echo $ag['Antecedentesginecologico']['c']; ?>
                        </td>
                        <td class=" sorting_1">
                            <?php echo $ag['Antecedentesginecologico']['nota']; ?>
                        </td>
                        <td class=" sorting_1">
                            <?php echo $ag['Antecedentesginecologico']['created']; ?>
                        </td>
                    </tr>
                    <?php $i++; ?>
                <?php endforeach; ?>
            </tbody>
        </table>                          
    </div>
</div>